/**
 * Copyright (c) 2018-2019 PoleStar Studio. All Rights Reserved. <br>
 * Use is subject to license terms.<br>
 * <p>
 * 在此处填写文件说明
 */
package edu.javaee.spring.ioc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 填写功能简述.
 * <p>填写详细说明.<br>
 * @version v1.0
 * @author lianzuozheng
 * @date 2019-03-21 -17:16 
 */
public class TestJavaEE {

    public static void main(String[] args) {
        /** 创建spring核心容器  */
        String xmlPath="edu/javaee/spring/ioc/beans.xml";
        ApplicationContext ac = new ClassPathXmlApplicationContext(xmlPath);
        StudentImpl student = (StudentImpl) ac.getBean("student");
        student.learn();

    }

}
